<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <!-- <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('finance/extract/week/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a> -->
						 <a href="javascript:;" class="btn btn-danger  btn-generate
						{:$auth->check('finance/extract/week/generate')?'':'hide'}" title="{:__('Generate')}" ><i class="fa fa-recycle"></i> {:__('Generate')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-excel
						{:$auth->check('finance/extract/week/excel')?'':'hide'}" title="{:__('Excel')}" ><i class="glyphicon glyphicon-export icon-share"></i> {:__('Excel')}</a>
						 <a href="javascript:;" class="btn btn-danger  btn-generate_tax
						{:$auth->check('finance/extract/week/generate_tax')?'':'hide'}" title="{:__('Generate_tax')}" ><i class="fa fa-recycle"></i> {:__('Generate_tax')}</a>
						<!--  <a href="javascript:;" class="btn btn-danger  btn-generate_group
						{:$auth->check('finance/extract/week/group')?'':'hide'}" title="{:__('Generate_group')}" ><i class="fa fa-list"></i> {:__('Generate_group')}</a> -->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"

                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap">
		<fieldset>
			  <div class="row">

			   <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
				<label for="start_time" class="control-label col-xs-4">{:__('Start_time')}</label>
				<div class="col-xs-8">
				 <input type="hidden" class="form-control operate" name="start_time-operate" data-name="start_time" value="RANGE" readonly="" />
				 <input type="text" class="form-control datetimerange" name="start_time" value="" placeholder="{:__('Start_time')}" id="start_time" data-index="3" />
				</div>
			   </div>

			   <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
				<label for="department" class="control-label col-xs-4">{:__('Department')}</label>
				<div class="col-xs-8">
				 <input type="hidden" class="form-control operate" name="department-operate" data-name="department" value="FIND_IN_SET" readonly="" />
				 <select class="form-control"  id="department" name="department">
					 <option value="">选择</option>
					 {foreach name="groupdata" item="vo"}
                            <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
                      {/foreach}
				 </select>
				</div>
			   </div>

			   <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
				<div class="col-sm-8 col-xs-offset-4">
				 <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
				 <button type="reset" class="btn btn-default">重置</button>
				</div>
			   </div>
			  </div>
        </fieldset>
    </form>
</script>